<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <include file="Public:header" />

</head>
<body>
  <include file="Public:body_top" />

  <div class="container-fluid">
    <div class="row">
      <div class="col-sm-3 col-md-2 sidebar hidden-xs">
        <div class="menu">
          <dl>
            <dt><i class="cm-order"></i>商品管理</dt>
            <dd><a href="{:U('Products/index')}">商品列表</a></dd>
          </dl>
          <dl>
            <dt><i class="cm-order"></i>商品库管理</dt>
            <dd><a href="{:U('Products/plat_index')}">商品库</a></dd>
            <dd><a href="{:U('Products/plat_cate_index')}">商品库分类</a></dd>
            <dd class="active"><a href="{:U('Products/plat_new_cate')}">新建商品分类</a></dd>
            <dd><a href="{:U('Products/plat_new_product')}">新建商品</a></dd>
          </dl>
        </div>
      </div>
      <div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
        <div class="main-hd">
          <h5>编辑商品库分类</h5>
        </div>
        <div class="main-bd">
          <div class="form-box">
            <form class="form-horizontal" method="post" enctype="multipart/form-data" action="{:U('Products/plat_update_cate')}">
              <div class="form-group">
                <label class="col-sm-2 control-label">分类名称</label>
                <div class="col-sm-4">
                  <input type="text" class="form-control" name="name" value="{$product_cate.name}">
                </div>
              </div>
              <div class="form-group">
                <label class="col-sm-2 control-label">分类排序</label>
                <div class="col-sm-4">
                  <input type="text" class="form-control" name="orderby" value="{$product_cate.orderby}">
                </div>
              </div>
              <div class="form-group">
                <div class="col-sm-offset-2 col-sm-10">
                  <input type="hidden" name="id" value="{$product_cate.id}">
                  <input type="submit" class="btn btn-primary" value="提交">
                </div>
              </div>
            </form>
          </div>
        </div>
      </div>
    </div>
  </div>

</body>

</html>